package com.sport.service;

import com.sport.pojo.dto.UpdateUserDto;
import com.sport.pojo.dto.UserShow;
import com.sport.pojo.entity.User;
import com.sport.pojo.vo.*;

import java.util.List;

import java.util.List;

public interface UserService {


    UserAllInfoVo login(String userAccount, String userPassword);

    int register(User user);
    User findUserMessage(String userId);
    int userUpdateMessage(UpdateUserDto updateUserDto);
    List<UserShow> showUserFootballDanRank();

    List<HistoryVo> showHistory(String userId);

    int updatePassword(String password);

    int  updateAvatar(String path);

    int studentVerification(String path);

    List<StudentVerifyVo> findStudentVerification();

    List<JudgeVerifyVo> findJudgeVerification();

    int agreeStudentVerification(String userId);

    int agreeJudgeVerification(String userId);

    VerifyVo findVerify();

    int judgeVerification(String path);

    int disagreeStudentVerification(String userId);

    int disagreeJudgeVerification(String userId);

    int getDao();
}
